package com.moon.game.command;

public interface Command {
	// 内部参数 AppServer
	static final String PAR_ID = "pid";
	static final String PAR_SID = "sid";
	static final String PAR_NAME = "name";
	static final String PAR_LEVEL = "level";
	static final String PAR_CHARM_VALUE = "charm_value";
	static final String PAR_EXP = "exp";
	static final String PAR_FULL_EXP = "full_exp";
	static final String PAR_QQ = "qq";
	static final String PAR_SEX = "sex";
	static final String PAR_PLAYER = "player";
	static final String PAR_PLAYER_VO = "player_vo";
	static final String PAR_ONLINE = "is_online";//是否在线
	public static final String PAR_PASSWORD = "password";
	public static final String PAR_SAFE_CODE = "safe_code";
	public static final String PAR_LOCATION_NAME = "location_name";
	public static final String PAR_LOCATION = "location";
	
	//页面参数
	public static final String TAG_ERR_MSG = "err_msg";
	
	//基本状态
	final int STATU_INIT = 0;
	final int STATU_CHECK = 1;
	final int STATU_RETURN = 2;
	
	//页面参数
	public static final String TAG_JSON = "json";
	public static final String TAG_RESULT = "result";
	public static final String TAG_INFO = "info";
	public static final String TAG_ACK = "ack";
	
	
	public void execute(RequestSession request);

	public void executeTimeout(RequestSession request);
}
